CanAccessFileCallback

public interface CanAccessFileCallback implements NetworkSyncCallback<P, R>

The callback is invoked when the engine checks if the given file can be accessed or not.

Use the can method to allow access to the file.

Use the cannot} method to deny access to the file.

If the callback throws an exception, the can method will be invoked.

Types

Link copied to clipboard
public interface Params
The parameters of the CanAccessFileCallback.
Link copied to clipboard
public interface Response
A response for CanAccessFileCallback.

Functions

Link copied to clipboard
@CheckForNull()
public abstract R on(P params)
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.